package cn.fourhundredandeighteen.dao;

import cn.fourhundredandeighteen.entity.Student;
import cn.fourhundredandeighteen.view.vo.LoginVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentDao {
    int deleteByPrimaryKey(Long studentId);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Long studentId);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    String selectLogin(LoginVO loginVO);

    List<Student> selectStudentList(@Param("studentIds") List<Long> studentIds);
    List<Student> selectAllStudent();
}